function DoMath(){
	var ocoupon=document.SecondProfiles.coup.value;
	var oprovince=document.SecondProfiles.ppp.value;
	var userInput = document.SecondProfiles.loanborrow.value;
	var bankname=document.SecondProfiles.bankname.value;


if (oprovince=="Alberta")
{var ocost=0.23*ocoupon;
}
else if (oprovince=="Ontario")
{var ocost=0.21*ocoupon;
}
else
{var ocost=0.21*ocoupon;
}

if (bankname=="NonBank"){
$("#otherbanking").show();}
else
{$("#otherbanking").hide();}
 
	var amount = parseInt(userInput) * ocost;
	document.SecondProfiles.loancost.value = "$"+amount;
	document.SecondProfiles.hcost.value = "$"+amount;

}

